package com.example.spring.family.init;

import org.springframework.beans.factory.InitializingBean;
import org.springframework.stereotype.Component;

/**
 * @program: knowledge-pooling
 * @ClassName InitializingBeanInit
 * @description:
 * @author: tomato
 * @create: 2024-07-07 20:12
 * @Version 1.0
 **/
@Component
public class InitializingBeanInit implements InitializingBean {
    @Override
    public void afterPropertiesSet() throws Exception {
        System.out.println("InitializingBean 方法执行...");
    }
}
